package com.neusoft.neu24.nep.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@TableName("roles")
public class Role {
    @TableId( type = IdType.AUTO)
    private Integer id;
    private String rname;
    private  String remark;
    @TableField(exist = false)
    private List<Sysnode>  sysnodes = new ArrayList<>();
}
